package com.laicunba.pojo;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;

/**
 * 现金券
 * 
 * @author why
 *
 */
@Component
@MyTable
public class UserRewardDO extends BaseDO {
	private String userId; // 用户ID
	private String activityNum; // 活动id
	private String rewardNum; // 抽奖号
	@MyColumn(type = "bool DEFAULT false")
	private boolean isGiveOut; // 奖品是否已发放
	private String rewardDesc;	//奖品描述

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getActivityNum() {
		return activityNum;
	}

	public void setActivityNum(String activityNum) {
		this.activityNum = activityNum;
	}

	public String getRewardNum() {
		return rewardNum;
	}

	public void setRewardNum(String rewardNum) {
		this.rewardNum = rewardNum;
	}

	public boolean isGiveOut() {
		return isGiveOut;
	}

	public void setGiveOut(boolean isGiveOut) {
		this.isGiveOut = isGiveOut;
	}

	public String getRewardDesc() {
		return rewardDesc;
	}

	public void setRewardDesc(String rewardDesc) {
		this.rewardDesc = rewardDesc;
	}

}
